﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="Edit2.aspx.cs" Inherits="Jzy.Web.SiteAdmin.Menu.Edit2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
    .style1{ width:90px; height:25px; text-align:right;}
    .style2{}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:Panel ID="pnlMain" runat="server" Width="100%">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;" align="center">
           
            <tr>
                <td class="style1">
                <asp:Label ID="Label3" runat="server" Text="上级栏目："></asp:Label>
                </td>
                <td class="style2"><asp:Label ID="lblUpperName" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                    <asp:HiddenField ID="UpperID" runat="server" /></td>
            </tr>
            <tr>
                <td class="style1"><span style="color: Red">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="栏目名称："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Name" CssClass="txt" runat="server" Width="120px"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        ErrorMessage="请输入栏目名" Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td class="style1"><span style="color: Red">*</span>&nbsp;<asp:Label ID="Label2" runat="server" Text="栏目编号："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Code" CssClass="txt" runat="server" Width="120px"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入编号" 
                        ControlToValidate="Code" Display="None"></asp:RequiredFieldValidator>
                 </td>
            </tr>             
            <tr>
                <td class="style1"><span style="color: Red">*</span>&nbsp;<asp:Label ID="Label5" runat="server" Text="排序："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Orders" CssClass="txt" runat="server" Width="119px"></asp:TextBox>
                    <asp:RegularExpressionValidator
                        ID="RegularExpressionValidator1" runat="server" ControlToValidate="Orders" ErrorMessage="数字格式不正确"
                        ValidationExpression="-?\d*" Display="None" SetFocusOnError="True"></asp:RegularExpressionValidator>&nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Orders"
                        Display="None" ErrorMessage="排序不能为空" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
</asp:Content>
